package site.wtfu.framework.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import site.wtfu.framework.service.IUserService;

/**
 * Copyright 2021 wtfu.site Inc. All Rights Reserved.
 *
 * @author: 12302
 * @date: 2021-05-02
 */
@Controller
@RequestMapping(value = "test")
public class TestUserController {


    @Autowired
    public IUserService iUserService;

    @RequestMapping("service")
    @ResponseBody
    public Object test(){
        return iUserService.getUsers(1);
    }

}
